package com.woniu.mapper.medicalService;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.model.medicalService.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//科室表
public interface DepartmentMapper extends BaseMapper<Department> {

    //分页 条件查询(根据二级科室名称模糊查询)
    List<Department> findPageByKeyword(@Param("pId") Long pId,@Param("secondLevelName") String secondLevelName);

}
